package com.nuoniu.sibanyun.entity.cms;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.nuoniu.sibanyun.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;



/**
 * <p>
 * 文章分类管理
 * </p>
 *
 * @author 小啊刚
 * @since 2022-06-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("cms_article_type")
@ApiModel(value="CmsArticleType对象", description="文章分类管理")
public class CmsArticleType extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "公司id")
    @TableField("company_id")
    private Integer companyId;

    @ApiModelProperty(value = "分类名字")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "分类排序")
    @TableField("sort")
    private Integer sort;


}
